<div class="main_body">
    <?php echo $this->element('main_menu')?>			
	<div id="main_body_content">
		<h1><?php __('The Largest Directory of Cleaning Services')?></h1>
		<?php echo $html->image(HOST."/baner.jpg", 
				array('alt'=>__("baner",true),'title'=>'Cleaning Service Online CRM'));?>
						
		<div class="pages-content">
			
				<?php __("Main window for customer...")?>
		
			<div class="clr"></div>
		</div>
		<div class="clr"></div>	
	</div>	
	<?php echo $this->element('languages')?>
	
	<div class="clr"></div>
	

</div>	
<div class="clr"></div>

<div class="main_action">
	<div class="main_action_content">
		<div class="actions">
			<h2><?php __('Actions'); ?></h2>
			<ul>
				<?php if(!$session->check("Auth.User.id")){?> 		
				<li><?php echo $this->Html->link(
					$html->image(HOST.'/actions_login.png'), array('controller'=>'users','action' => 'login'),array('escape'=>false,'title'=>__("Customers login",true)));?>
					<div class="clr"></div>	
					<?php echo __("Login AS Customer",true)?>
				</li>
				<?php }else{?>
				<li><?php echo $this->Html->link(
					$html->image(HOST.'/actions_logout.png'), array('controller'=>'users','action' => 'logout'),array('escape'=>false,'title'=>__("Customers logout",true)));?>
					<div class="clr"></div>	
					<?php echo __("Logout Customer",true)?>
				</li>
				<?php }?>	
				
				
				
				<?php if(!$session->read("Auth.User.group") == "admin"){?> 
				<li><?php echo $this->Html->link(
					$html->image(HOST.'/actions_customers.png'), array('action' => 'index'),array('escape'=>false,'title'=>__("List Customers",true)));?>
					<div class="clr"></div>	
					<?php echo __("List Customers",true)?>
				</li>					
				<?php }?>			
			</ul>
		</div>
		<div class="clr"></div>		
	</div>		
</div>	
<div class="clr"></div>